<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'regist.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
		*{
			margin:0px;
			padding:0px;
		}
		.top{
			width:100%; 
			height:35px; 
			line-height:35px; 
			font-size:12px;	
		}
		.top ul li{
			list-style:none;
			float:right;
			width:60px;
		}
		a{
			color:#06F;
			text-decoration:none;
		}
		a:hover{
			text-decoration:underline;
		}
	</style>
  </head>
  
  <body>
	<div style="height:35px;;width:100%;border-bottom:1px solid #CCC; z-index:-1; position:absolute; background:#EFEFEF;"></div>
	<div style="width:1200px; margin:auto;">
        <!-- 顶部索引 -->
        <div class="top">
        	<div style="width:50%; float:left;">你好！欢迎进入中国报险网。</div>
            <div style="width:50%; float:right; text-align:right;">

            </div>
        </div>
        <!-- 主体内容 -->
        <div style="width:100%; height:560px;">
            <div style="width: 460px; height: 400px; border: 1px solid green; border-radius: 10px; margin:60px 380px; position: absolute;">
                <div style="width: 100%; height: 80px; background: #0C9; line-height: 80px; text-align: center; border-top-left-radius:10px; border-top-right-radius:10px; color:#FFF; font-size:26px; font-weight:bold;">欢迎注册</div>
                <!-- 注册信息 -->
                <form action="${pageContext.request.contextPath }/regist.action" method="post">
                    <div style="width: 100%; height: 42px; margin-top: 38px; line-height: 38px;">
                        <div style="width: 30%; float: left; text-align: right;">用户名：</div>
                        <div style="width: 70%; float: left; text-align: left;">
                            <input type="text" name="username" style="width: 250px; height: 32px; padding-left:5px;"/>
                        </div>
                    </div>
                    <div style="width: 100%; height: 42px; margin-top: 20px; line-height: 38px;">
                        <div style="width: 30%; float: left; text-align: right;">密码：</div>
                        <div style="width: 70%; float: left; text-align: left;">
                            <input type="password" name="pwd" style="width: 250px; height: 32px; padding-left:5px;"/>
                        </div>
                    </div>
                    <div style="width: 100%; height: 42px; margin-top: 20px; line-height: 38px;">
                        <div style="width: 30%; float: left; text-align: right;">确认密码：</div>
                        <div style="width: 70%; float: left; text-align: left;">
                            <input type="password" name="rpwd" style="width: 250px; height: 32px; padding-left:5px;"/>
                        </div>
                    </div>
                    <div style="width: 100%; height: 42px; margin-top:10px; line-height: 38px; font-size: 8px;">
                        <div style="width: 30%; float: left; text-align: right;">&nbsp;</div>
                        <div style="width: 70%; float: left; text-align: left;">
                            <input type="checkbox" checked="checked" style="vertical-align:text-top"/>&nbsp;我已阅读并接受<a href="#">《新用户注册协议》</a>
                        </div>
                    </div>
                    <div style="width: 100%; height: 42px;line-height: 38px;">
                        <div style="width: 30%; float: left;">&nbsp;</div>
                        <div style="width: 70%; float: left; text-align: left;">
                            <input type="submit" value="同意并注册" style="width: 260px; height: 38px; color:#FFF; font-size:22px; font-weight:bold; background:#0C9; border:none;"/>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <!-- 版权 -->
        <div style="width:100%; height:30px; text-align:center; line-height:30px; float:left; font-size:14px;">Copyright© 中国报险网 2007-2015，All Rights Reserved</div>
    </div>
  </body>
</html>
